package com.efast.cafe.commponent.statemach.service;

import java.util.List;

import com.efast.cafe.commponent.statemach.bean.StateMachTaskHistory;
import com.efast.cafe.commponent.statemach.bean.StateMachTaskHistoryBean;

public interface IPortalStateMachTaskHistoryService {

	/**
	 * 添加任务历史
	 * @param taskHistory
	 */
	public void insertTaskHistory(StateMachTaskHistory taskHistory);
	
	/**
	 * 根据TaskId获取流程历史
	 * @param taskId
	 * @return
	 */
	public List<StateMachTaskHistory> queryTaskHistoryByTaskId(Long taskId);
	
	/**
	 * 根据TaskId获取流程历史(显示)
	 * @param taskId
	 * @return
	 */
	public List<StateMachTaskHistoryBean> queryTaskHistoryBeanByTaskId(Long taskId);
}
